package top.zackyoung.bbs.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * like
 * @author 
 */
@Data
public class Like implements Serializable {
    /**
     * 编号
     */
    private Integer id;
    private Date createTime;
    private String title;
    private Integer total;
    private Integer topicId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 类型(1.论坛帖 2.问题帖 3.评论点赞)
     */
    private String type;

    /**
     * 点赞对象id
     */
    private Integer likeObjectId;

    private static final long serialVersionUID = 1L;
}